package com.erp.erp_entitys.warehouse.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName : PlanInstore
 * @Description : 备货入库实体
 * @Author : lst
 * @Date: 2020-07-01 17:12
 */
public class PlanInstoreEntity implements Serializable {

    /**
     * 序列码
     */
    private static final long serialVersionUID = -5182604270609790438L;

    /**
     * 主键
     */
    private Integer id;

    /**
     * 入库单号
     */
    private String billNo;

    /**
     * 入库日期
     */
    private Date time;

    /**
     * 入库类型(0:正常入库 1:其它入库)
     */
    private Integer type;

    /**
     * 仓库编码
     */
    private String warehouseId;

    /**
     * 仓库名称
     */
    private String warehouseName;

    /**
     * 操作人
     */
    private String operator;

    /**
     * 操作人id
     */
    private String operationNo;

    /**
     * 入库人
     */
    private String person;

    /**
     * 入库人编码
     */
    private String personNo;

    /**
     * 状态(1.草稿箱 2.待批箱 3.已批箱 4.完成箱 5.垃圾箱)
     */
    private Integer status;

    /**
     * 创建时间
     */
    private Date createTime;

    /**
     * 修改时间
     */
    private Date modifyTime;

    /**
     * 备注
     */
    private String memo;

    /**
     * 是否有效(0:无效 1:有效)
     */
    private Integer valid;


    public String getWarehouseName() {
        return warehouseName;
    }

    public void setWarehouseName(String warehouseName) {
        this.warehouseName = warehouseName;
    }

    public Integer getValid() {
        return valid;
    }

    public void setValid(Integer valid) {
        this.valid = valid;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getBillNo() {
        return billNo;
    }

    public void setBillNo(String billNo) {
        this.billNo = billNo;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public String getOperationNo() {
        return operationNo;
    }

    public void setOperationNo(String operationNo) {
        this.operationNo = operationNo;
    }

    public String getPerson() {
        return person;
    }

    public void setPerson(String person) {
        this.person = person;
    }

    public String getPersonNo() {
        return personNo;
    }

    public void setPersonNo(String personNo) {
        this.personNo = personNo;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("PlanInstoreEntity").append('[')
                .append("id=")
                .append(id)
                .append(",billNo=")
                .append(billNo)
                .append(",time=")
                .append(time)
                .append(",type=")
                .append(type)
                .append(",warehouseId=")
                .append(warehouseId)
                .append(",operator=")
                .append(operator)
                .append(",operationNo=")
                .append(operationNo)
                .append(",person=")
                .append(person)
                .append(",personNo=")
                .append(personNo)
                .append(",status=")
                .append(status)
                .append(",createTime=")
                .append(createTime)
                .append(",modifyTime=")
                .append(modifyTime)
                .append(']');
        return sb.toString();
    }
}
